package easyexcel.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author PC-a
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {

    @NotBlank(message = "名称不能为空")
    private String name;
    private int salary;
    private int age;
    private String sex;
    private String area;
}
